projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3584f30
)
sun7i: add USB EHCI settings
author
Roman Byshko
<
[email protected]
>
Thu, 24 Jul 2014 20:54:23 +0000
(22:54 +0200)
committer
Hans de Goede
<
[email protected]
>
Thu, 31 Jul 2014 13:37:23 +0000
(15:37 +0200)
Specific USB EHCI settings to be set for sun7i if
CONFIG_USB_EHCI is enabled.
Signed-off-by: Roman Byshko <
[email protected]
>
Acked-by: Ian Campbell <
[email protected]
>
[
[email protected]
: Use SUNXI_GPH macro for SUNXI_USB_VBUS#_GPIO]
[
[email protected]
: Add #ifndef SUNXI_USB_VBUS#_GPIO to allow override of
the default pins from boards.cfg]
Signed-off-by: Hans de Goede <
[email protected]
>
include/configs/sun7i.h
patch
|
blob
|
history
diff --git
a/include/configs/sun7i.h
b/include/configs/sun7i.h
index d9be1046b0cf7ddd99cfe96c4073c1b9802fad4d..b5992d2191fabf525cc6892b994c1af5284f555c 100644
(file)
--- a/
include/configs/sun7i.h
+++ b/
include/configs/sun7i.h
@@
-17,6
+17,18
@@
#define CONFIG_SYS_PROMPT "sun7i# "
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SUNXI
+
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+#ifndef CONFIG_SUNXI_USB_VBUS0_GPIO
+#define CONFIG_SUNXI_USB_VBUS0_GPIO SUNXI_GPH(6)
+#endif
+#ifndef CONFIG_SUNXI_USB_VBUS1_GPIO
+#define CONFIG_SUNXI_USB_VBUS1_GPIO SUNXI_GPH(3)
+#endif
+#endif
+
/*
* Include common sunxi configuration where most the settings are
*/